﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace ConsoleApp1
{
    [XmlRoot("xml")]
    public class MessageEventGuideInviteResultEven
    {
        public string ToUserName { set; get; } = string.Empty;
        public string FromUserName { set; get; } = string.Empty;
        public long CreateTime { set; get; }
        public string MsgType { set; get; } = string.Empty;
        public string Event { set; get; } = string.Empty;
        public GuideScanEvent GuideScanEvent { set; get; }
    }

    public class GuideScanEvent
    {
        /*
        
            <qrcode_guide_account>![CDATA[xxx]]</qrcode_guide_account>
            <qrcode_guide_openid>![CDATA[xxx]]</qrcode_guide_openid>
            <openid>![CDATA[xxx]]</openid>
            <action>11</action>
            <qrcode_info>![CDATA[xxx]]</qrcode_info> 
        */
        public string qrcode_guide_account { set; get; } = string.Empty;
        public string qrcode_guide_openid { set; get; } = string.Empty;
        public string openid { set; get; } = string.Empty;
        public int action { set; get; }
        public string qrcode_info { set; get; } = string.Empty;
    }
}
